<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"> 
<head>
<meta charset="UTF-8"/>
<title>Insert title here</title>
</head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<body>
<span th:text="${message}"></span><br/>
  <form action="init1"  th:object="${UserBean}" method="post">
  用户ID：<input name="userId" type="text"/><br/>
 用户名：<input name="userName" type="text"/><br/>
 密码:<input name="passWord" type="password"/><br/>
 确认密码：<input name="passWord1" type="password"/><br/>
 <button type="submit">注册</button> 
 </form>
 
 <form th:action="@{/}" action="#" method="get">
 <button type="submit">后退</button>
 </form>
 </body>
</html>